import React from "react";
import {HomeWrapper} from "@/component/Home/style";
import {BaseContainer} from "./style";
import {Button, Result} from "antd";

const NoPermission = () => {
    return <>
        <HomeWrapper>
            <BaseContainer>
                <Result
                    status="403"
                    title="403"
                    subTitle="您的权限好像不太够，如有疑问可以找管理员问问哦！"
                    extra={<Button type="primary" onClick={() => window._ROUTER_.push('/home')}>返回首页</Button>}
                />
            </BaseContainer>
        </HomeWrapper>
    </>

}
export default NoPermission;
